package com.smooth.site.sx.mag.biz.pic.enums;

public enum PicTypeEnums {
	
	shouye(1, "首页"),
	;

	public Integer value;
	public String name;

	PicTypeEnums(int value, String name) {
		this.value = value;
		this.name = name;
	}

	public static PicTypeEnums getStatus(Integer value) {
		if (value != null) {
			PicTypeEnums[] otypes = PicTypeEnums.values();
			for (PicTypeEnums memberType : otypes) {
				if (value.equals(memberType.value)) {
					return memberType;
				}
			}
		}
		return null;
	}
}
